<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import= "com.roadmap.struts.action.ActionConst"%>
<%
String user_ssn_id = (String)request.getSession().getAttribute(ActionConst.Aspirant_Id_In_Session);
String user_req_id = (String)request.getParameter(ActionConst.Aspirant_Id_In_Request);
if(user_req_id == null){
	user_req_id = user_ssn_id;
}
boolean isHost = request.getAttribute(ActionConst.Visitor_Is_Owner) != null;
%>
		<div class="slidebar">
			<ul>
				<li class="title">好友</li>
				<li><a href="friend.do?act=view&uid=<%=user_req_id %>">全部好友</a></li>
				<%if(isHost) {%>
				<li><a href="searchFriends.do?act=view">查找好友</a></li>
				<li><a href="request.do">请求中心</a></li>
				<%} %>
				<li><a href="friend.do?act=visit&uid=<%=user_req_id %>">好友来访</a></li>
			</ul>
		</div>
					